package com.chinatcc.proxy.pojo;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * Role entity. @author MyEclipse Persistence Tools
 */

public class Role  implements java.io.Serializable {


    // Fields    

     private Long id;
     private String rnumber;
     private String rname;
     private Set userses = new HashSet(0);
     private Set rights = new HashSet(0);


    // Constructors

    /** default constructor */
    public Role() {
    }

    
    /** full constructor */
    public Role(String rnumber, String rname, Set userses, Set rights) {
        this.rnumber = rnumber;
        this.rname = rname;
        this.userses = userses;
        this.rights = rights;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public String getRnumber() {
        return this.rnumber;
    }
    
    public void setRnumber(String rnumber) {
        this.rnumber = rnumber;
    }

    public String getRname() {
        return this.rname;
    }
    
    public void setRname(String rname) {
        this.rname = rname;
    }

    public Set getUserses() {
        return this.userses;
    }
    
    public void setUserses(Set userses) {
        this.userses = userses;
    }

    public Set getRights() {
        return this.rights;
    }
    
    public void setRights(Set rights) {
        this.rights = rights;
    }
   








}